package com.demo.test.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * LCN 效果测试类
 *
 * @author YT
 * @date 2019-05-16
 */
@Data
@TableName("test")
@EqualsAndHashCode(callSuper = true)
public class ServiceName extends Model<ServiceName> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @TableField(value = "name")
    private String name;
}
